import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from "@angular/forms";
import { OnetomanyListRoutingModule } from './onetomany-list-routing.module';
import { WclComponent } from '../list/wcl/wcl.component';
import { YclComponent } from '../list/ycl/ycl.component';
import { YzzComponent } from '../list/yzz/yzz.component';
import { AppPaginationModule } from "../../../widgets/pagination/pagination.module";
import { FileUploadModule } from 'ng2-file-upload';
import { CustomFormsModule } from 'ng2-validation'
import { CheckboxModule } from 'primeng/primeng';
import * as flatpickr from 'flatpickr';
import { FlatpickrModule, FLATPICKR } from '../../../../assets/angularx-flatpickr';
export function flatpickrFactory() {
    return flatpickr;
}
@NgModule({
    imports: [
        CommonModule,
        OnetomanyListRoutingModule,
        FormsModule,
        AppPaginationModule,
        FileUploadModule,
        CustomFormsModule,
        FlatpickrModule.forRoot({
            provide: FLATPICKR,
            useFactory: flatpickrFactory
        })
    ],
    declarations: [WclComponent, YclComponent, YzzComponent]
})
export class OnetomanyListModule { }